package com.mf.cloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * ClassName: ${NAME}
 * Package: com.mf.cloud
 *
 * @Author: lmf
 * @Create: 2024/3/13 22:31
 * @Version: 1.0
 * Description:  $description
 */// Press Shift twice to open the Search Everywhere dialog and type `show whitespaces`,
// then press Enter. You can now see whitespace characters in your code.
    @SpringBootApplication
    @EnableDiscoveryClient // 将程序注册进服务中心
    @EnableFeignClients // 启用feign客户端来定义接口和服务，以申明式的方法优雅的实现服务的调用
public class openfeignMain {
    public static void main(String[] args) {
        SpringApplication.run(openfeignMain.class,args);
    }
}